#ifndef MPHTTPREQUESTEMPTYCONTENT_H
#define MPHTTPREQUESTEMPTYCONTENT_H

/*****************************************
 * HttpRequestEmptyContent 继承于 HttpRequestContent
 *****************************************/

#include "mpHttpRequestMessage.h"

namespace MP{
namespace HTTP{
namespace INTERNAL{

class HttpRequestEmptyContent : public HttpRequestContent
{
public:
    HttpRequestEmptyContent();
    virtual ~HttpRequestEmptyContent() override = default;
public:

    virtual std::string getMd5() override;
    virtual std::size_t getContentLength() override;
    virtual bool beginWriteData() override;
    virtual bool onWriteDataSome(std::vector<boost::asio::const_buffer>& buffers) override;
    virtual void endWriteData() override;

};  //HttpRequestContent


}   //INTERNAL
}   //HTTP
}   //MP


#endif // MPHTTPREQUESTEMPTYCONTENT_H
